To stop people from enjoying an activity.
John told us he had lost his job, which put a damper on the celebrations.